package com.itheima.a10oopextendsdemo10;

public class Teacher extends Employee {
    public Teacher() {
    }

    public Teacher(String id, String name, String career) {
        super(id, name, career);
    }

    public void work(){
        System.out.println("老师在教研部工作");
    }
}
